package com.jsoft.dao.impl;

import com.jsoft.dao.MyTicketDetailDao;
import com.jsoft.entity.MyTicketDetail;
import com.jsoft.util.DAO;

/**
 * @author:sha
 * @email:o68o4741@163.com
 * @date:2023/2/21
 */
public class MyTicketDetailDaoImpl extends DAO<MyTicketDetail> implements MyTicketDetailDao {
    @Override
    public MyTicketDetail getMyTicketDetail(Integer id) throws Exception {
        String sql="select `no`,receiveEnterprise,receiveSocialUniformCode,openEnterprise,openSocialUniformCode,institution,openTime,paymentInterestType,source,amount,expiryTime,remark from myticketdetail where id = ?";
        return get(sql,id);
    }
}
